
<div class="mes-not" ui-view="container">
    <div class="head_title">
        <span class="news">消息中心</span>
    </div>
    <div >

        <uib-tabset ng-if="$state.current.name=='main.noticeMessage'" active="search.status" class="content-margin ">
            <uib-tab index="'notice'" heading="公告"  ng-click="tabClick('notice')">
                <section class="fg-section wp-20" ng-repeat="item in noticeList">
                    <div style="position: relative">
                        <i class="fa fa-gift" aria-hidden="true" style="color: red" ng-if="item.charMark.split(',').indexOf('305')>-1" title="活动"></i>
                        <i class="iconfont icon-zhiding" aria-hidden="true" style="color: red" ng-if="item.charMark.split(',').indexOf('301')>-1" title="置顶"></i>
                        <span ng-class="{'red':item.charMark.split(',').indexOf('303')>-1,'bold':item.charMark.split(',').indexOf('302')>-1}" class="not-tit" ui-sref="main.noticeMessage.noticeDetail({noticeId:item.id})"><a>{{item.title}}</a></span>
                        <span class="pull-right" style="margin-right: 20px;color: #D5D5D5">{{item.cTime}}</span>
                        <span class="pull-right" style="margin-right: 20px;color: #D5D5D5">{{item.adminUser}}</span>
                    </div>
                    <p class="mt-15" style="color: #7D7D7D; white-space: nowrap;overflow: hidden;text-overflow: ellipsis; font-size: 12px">{{item.brief}}</p>
                    <!--<p class="mt-15" ng-bind-html="$sce.trustAsHtml(item.content)"></p>-->
                </section>
                <div class="panel-footer">
                    <s-pagination conf="paginationConf"></s-pagination>
                </div>
            </uib-tab>
            <uib-tab index="'message'" heading="通知" ng-click="tabClick('message')">
                <section class="fg-section wp-20" ng-repeat="item in messageList"  ng-mouseenter="show = true" ng-mouseleave="show = false">
                    <div style="position: relative">
                        <i class="fa fa-gift" aria-hidden="true" style="color: red" ng-if="item.charMark.split(',').indexOf('305')>-1" title="活动"></i>
                        <i class="iconfont icon-zhiding" aria-hidden="true" style="color: red" ng-if="item.charMark.split(',').indexOf('301')>-1" title="置顶"></i>
                        <span ng-class="{'red':item.charMark.split(',').indexOf('303')>-1,'bold':item.charMark.split(',').indexOf('302')>-1}" class="not-tit"  ng-click="readMessage(item)" ui-sref="main.noticeMessage.messageDetail({messageId:item.id})"><a>{{item.title}}</a></span>
                        <span class="circle" ng-if="item.mark !== 3"></span>
                        <span class="pull-right" ng-click="messageDelete(item)" ng-show="show" style=" position: absolute; right: -10px; top: -9px;">
                            <a  aria-hidden="true" class="iconfont  icon-A-guanbi " title="删除" style="color: #D5D5D5"></a>
                        </span>
                        <span class="pull-right" style="margin-right: 20px;color: #D5D5D5">{{item.cTime}}</span>
                        <span class="pull-right" style="margin-right: 20px;color: #D5D5D5">{{item.sendUser}}</span>
                    </div>
                    <p class="mt-15" style="color: #7D7D7D; white-space: nowrap;overflow: hidden;text-overflow: ellipsis; font-size: 12px">{{item.brief}}</p>
                    <!--<p class="mt-15" ng-bind-html="$sce.trustAsHtml(item.content)"></p>-->
                </section>
                <div class="panel-footer">
                    <s-pagination conf="paginationConf"></s-pagination>
                </div>
            </uib-tab>
        </uib-tabset>




    </div>
</div>







